
function logined(){
	//若用户已经登录，则无需再看到此页面
	var logstatu = sessionStorage['LoginName'];
	console.log("name is "+name);
	console.log("statu is "+logstatu);
	if (logstatu){
		location.href = 'index.html';
		console.log(logstatu);
	}
}

function unlogin(){
	//若用户未登录，则需先登录
	var logstatu = sessionStorage['LoginName'];
	console.log("name is " + name);
	console.log("statu is " + logstatu);
	if (!logstatu) {
		location.href = 'c_login.html';
		console.log(logstatu);
	}
}
			